package com.ruoyi.stock2.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 从PCA挑选的接近的模型对象 SELECT_MODEL_FROM_PCA
 * 
 * @author ruoyi
 * @date 2020-03-17
 */
public class SelectModelFromPca extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 代码 */
    @Excel(name = "代码")
    private String symbol;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 触发日期 */
    @Excel(name = "触发日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date datetime;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 是否符合模型 */
    @Excel(name = "是否符合模型")
    private Long fitTheBill;

    /** 是否机器添加 */
    @Excel(name = "是否机器添加")
    private Integer aiAuto;

    /** 是否训练集 */
    @Excel(name = "是否训练集")
    private Integer isTrain;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSymbol(String symbol) 
    {
        this.symbol = symbol;
    }

    public String getSymbol() 
    {
        return symbol;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setDatetime(Date datetime) 
    {
        this.datetime = datetime;
    }

    public Date getDatetime() 
    {
        return datetime;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setFitTheBill(Long fitTheBill) 
    {
        this.fitTheBill = fitTheBill;
    }

    public Long getFitTheBill() 
    {
        return fitTheBill;
    }
    public void setAiAuto(Integer aiAuto) 
    {
        this.aiAuto = aiAuto;
    }

    public Integer getAiAuto() 
    {
        return aiAuto;
    }
    public void setIsTrain(Integer isTrain) 
    {
        this.isTrain = isTrain;
    }

    public Integer getIsTrain() 
    {
        return isTrain;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("symbol", getSymbol())
            .append("name", getName())
            .append("datetime", getDatetime())
            .append("type", getType())
            .append("fitTheBill", getFitTheBill())
            .append("aiAuto", getAiAuto())
            .append("isTrain", getIsTrain())
            .toString();
    }
}
